package org.jeecg.modules.htxincailiao.address.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: ht_seller_address
 * @Author: jeecg-boot
 * @Date:   2021-06-25
 * @Version: V1.0
 */
@Data
@TableName("ht_seller_address")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ht_seller_address对象", description="ht_seller_address")
public class HTSellerAddress implements Serializable {
    private static final long serialVersionUID = 1L;

	/**地址ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "地址ID")
    private String id;
	/**商户ID*/
	@Excel(name = "商户ID", width = 15)
    @ApiModelProperty(value = "商户ID")
    private String sellerId;
	/**店铺ID*/
	@Excel(name = "店铺ID", width = 15)
    @ApiModelProperty(value = "店铺ID")
    private String shopId;
	/**国家/地区ID*/
	@Excel(name = "国家/地区ID", width = 15)
    @ApiModelProperty(value = "国家/地区ID")
    private String regionId;
	/**省级ID*/
	@Excel(name = "省级ID", width = 15)
    @ApiModelProperty(value = "省级ID")
    private String provinceId;
	/**市级ID*/
	@Excel(name = "市级ID", width = 15)
    @ApiModelProperty(value = "市级ID")
    private String cityId;
	/**区ID*/
	@Excel(name = "区ID", width = 15)
    @ApiModelProperty(value = "区ID")
    private String districtId;
	/**街道地址*/
	@Excel(name = "街道地址", width = 15)
    @ApiModelProperty(value = "街道地址")
    private String streetAddress;
	/**楼/门牌号*/
	@Excel(name = "楼/门牌号", width = 15)
    @ApiModelProperty(value = "楼/门牌号")
    private String suiteAddress;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private String contactPerson;
	/**手机电话*/
	@Excel(name = "手机电话", width = 15)
    @ApiModelProperty(value = "手机电话")
    private String phoneNumber;
	/**座机电话*/
	@Excel(name = "座机电话", width = 15)
    @ApiModelProperty(value = "座机电话")
    private String telephone;
	/**邮箱*/
	@Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private String email;
	/**邮编*/
	@Excel(name = "邮编", width = 15)
    @ApiModelProperty(value = "邮编")
    private Integer zipcode;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;
	/**是否默认地址：0-非默认地址，1-默认地址。*/
	@Excel(name = "是否默认地址：0-非默认地址，1-默认地址。", width = 15)
    @ApiModelProperty(value = "是否默认地址：0-非默认地址，1-默认地址。")
    private Boolean isDefault;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;

	/**逻辑删除：0-未删除,1-删除。*/
	@Excel(name = "逻辑删除：0-未删除,1-删除。", width = 15)
    @ApiModelProperty(value = "逻辑删除：0-未删除,1-删除。")
    private Integer isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @TableField(exist = false)
    private Integer pageNo=1;

    @TableField(exist = false)
    private Integer pageSize=10;
}
